package org.summerframework.component.upload.file.service.dto;

import org.summerframework.core.page.PaginationQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * file_user_rel
 * @author
 */
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class FileUserRelQueryDTO extends PaginationQuery {
    @ApiModelProperty(value = "根据排序")
    private Boolean orderById;

    @ApiModelProperty(value = "")
    private String url;

    @ApiModelProperty(value = "")
    private String type;

    @ApiModelProperty(value = "")
    private String suffix;

    @ApiModelProperty(value = "")
    private Long size;

    @ApiModelProperty(value = "")
    private Long userId;

    @ApiModelProperty(value = "")
    private Long fileId;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "根据创建时间排序")
    private Boolean orderByCreateTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "根据更新时间排序")
    private Boolean orderByUpdateTime;
}
